package com.hospital.workstation.domain.bo;

import com.hospital.common.core.validate.AddGroup;
import com.hospital.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;

import com.hospital.common.core.domain.BaseEntity;

/**
 * 药学监护记录业务对象 hospital_pharmaceutical_care
 *
 * @author whb
 * @date 2023-02-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class PharmaceuticalCareBo extends BaseEntity {

    /**
     * 药学监护记录ID
     */
    // @NotNull(message = "药学监护记录ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 病历号
     */
    // @NotNull(message = "病历号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer medicalRecordNo;

    /**
     * 出院用药教育
     */
    // @NotBlank(message = "出院用药教育不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dischargePharmacyEducation;

    /**
     * 出院用药是否被选择（无false 有true）
     */
    private String dischargePillsOption;

    /**
     * 药学监护详情集合
     */
    private List<PharmaceuticalCareDetailBo> pharmaceuticalCareDetailBoList;

    /**
     * 出院用药集合
     */
    private List<MedicalRecordBo> outMedicalRecordList;

    /**
     * 出院用药西药汇总
     */
    private List<MedicalRecordBo> educWestMedicalRecordList;

    /**
     * 出院用药中药饮片汇总
     */
    private List<MedicalRecordBo> educTraditionalMedicalRecordList;
}
